forum

home / developersection / forums / automatically remove html comments in release mode

Automatically remove HTML comments in Release mode

Lillian Martin 2266 29-Jan-2015

I am trying to find a way to automatically remove HTML comments in release mode for two main reasons

  • Minification: there is a lot of comments in some pages
  • Comments contain development notices and TODO lists (which are exposed to end user).

I am using ASP.NET MVC and looking for something in the same spirit as the bundling and minification features.


Updated on 29-Jan-2015
Can you answer this question?

Answer

1 Answers

Liked By